<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aws-crt-cpp: Aws::Crt::Http::HttpClientConnection Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">aws-crt-cpp
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceAws.html">Aws</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt.html">Crt</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt_1_1Http.html">Http</a></li><li class="navelem"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html">HttpClientConnection</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Aws::Crt::Http::HttpClientConnection Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="HttpConnection_8h_source.html">HttpConnection.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Aws::Crt::Http::HttpClientConnection:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.png" usemap="#Aws::Crt::Http::HttpClientConnection_map" alt=""/>
  <map id="Aws::Crt::Http::HttpClientConnection_map" name="Aws::Crt::Http::HttpClientConnection_map">
<area href="classAws_1_1Crt_1_1Http_1_1ManagedConnection.html" alt="Aws::Crt::Http::ManagedConnection" shape="rect" coords="0,112,318,136"/>
<area href="classAws_1_1Crt_1_1Http_1_1UnmanagedConnection.html" alt="Aws::Crt::Http::UnmanagedConnection" shape="rect" coords="328,112,646,136"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a488104fc0d79c851166b7c73740a3f24"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html#a488104fc0d79c851166b7c73740a3f24">~HttpClientConnection</a> ()=default</td></tr>
<tr class="separator:a488104fc0d79c851166b7c73740a3f24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad96d1be1fc1f4408ba917cbc7e0b2ff9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html#ad96d1be1fc1f4408ba917cbc7e0b2ff9">HttpClientConnection</a> (const <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html">HttpClientConnection</a> &amp;)=delete</td></tr>
<tr class="separator:ad96d1be1fc1f4408ba917cbc7e0b2ff9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6038bf3963a4eb3cd20971e3685bf06"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html#af6038bf3963a4eb3cd20971e3685bf06">HttpClientConnection</a> (<a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html">HttpClientConnection</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:af6038bf3963a4eb3cd20971e3685bf06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad55879d84cbac68c458b969f4f91cece"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html">HttpClientConnection</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html#ad55879d84cbac68c458b969f4f91cece">operator=</a> (const <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html">HttpClientConnection</a> &amp;)=delete</td></tr>
<tr class="separator:ad55879d84cbac68c458b969f4f91cece"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0453c9643d8f286f4493109c0715d3e3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html">HttpClientConnection</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html#a0453c9643d8f286f4493109c0715d3e3">operator=</a> (<a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html">HttpClientConnection</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:a0453c9643d8f286f4493109c0715d3e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a872224827a5001b9f5dee1b22c060248"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientStream.html">HttpClientStream</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html#a872224827a5001b9f5dee1b22c060248">NewClientStream</a> (const <a class="el" href="structAws_1_1Crt_1_1Http_1_1HttpRequestOptions.html">HttpRequestOptions</a> &amp;requestOptions) noexcept</td></tr>
<tr class="separator:a872224827a5001b9f5dee1b22c060248"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea2f037c2daa716775eeb1958da8933d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html#aea2f037c2daa716775eeb1958da8933d">IsOpen</a> () const noexcept</td></tr>
<tr class="separator:aea2f037c2daa716775eeb1958da8933d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2099619e869a3bc6365f27fe1ce44f20"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html#a2099619e869a3bc6365f27fe1ce44f20">Close</a> () noexcept</td></tr>
<tr class="separator:a2099619e869a3bc6365f27fe1ce44f20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d308ec92dafcf1b6c190681a93d0e82"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceAws_1_1Crt_1_1Http.html#afba23b4ec95a8d1b95d18b2ffe5d82e5">HttpVersion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html#a0d308ec92dafcf1b6c190681a93d0e82">GetVersion</a> () noexcept</td></tr>
<tr class="separator:a0d308ec92dafcf1b6c190681a93d0e82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac166bbffac8fbafcc40d29cadedd9318"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html#ac166bbffac8fbafcc40d29cadedd9318">LastError</a> () const noexcept</td></tr>
<tr class="separator:ac166bbffac8fbafcc40d29cadedd9318"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a0d552f646074ba83b71a6cb45aba4b55"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html#a0d552f646074ba83b71a6cb45aba4b55">CreateConnection</a> (const <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnectionOptions.html">HttpClientConnectionOptions</a> &amp;connectionOptions, <a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator) noexcept</td></tr>
<tr class="separator:a0d552f646074ba83b71a6cb45aba4b55"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a171692c127a7fddec5e525c95a9e1a77"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html#a171692c127a7fddec5e525c95a9e1a77">HttpClientConnection</a> (aws_http_connection *<a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html#a84a4b9d5ec439a84fcac7c4b94efffdf">m_connection</a>, <a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator) noexcept</td></tr>
<tr class="separator:a171692c127a7fddec5e525c95a9e1a77"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a84a4b9d5ec439a84fcac7c4b94efffdf"><td class="memItemLeft" align="right" valign="top">aws_http_connection *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html#a84a4b9d5ec439a84fcac7c4b94efffdf">m_connection</a></td></tr>
<tr class="separator:a84a4b9d5ec439a84fcac7c4b94efffdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents a connection from a <a class="el" href="namespaceAws_1_1Crt_1_1Http.html">Http</a> Client to a Server. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a488104fc0d79c851166b7c73740a3f24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a488104fc0d79c851166b7c73740a3f24">&#9670;&nbsp;</a></span>~HttpClientConnection()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Aws::Crt::Http::HttpClientConnection::~HttpClientConnection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad96d1be1fc1f4408ba917cbc7e0b2ff9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad96d1be1fc1f4408ba917cbc7e0b2ff9">&#9670;&nbsp;</a></span>HttpClientConnection() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Http::HttpClientConnection::HttpClientConnection </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html">HttpClientConnection</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af6038bf3963a4eb3cd20971e3685bf06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6038bf3963a4eb3cd20971e3685bf06">&#9670;&nbsp;</a></span>HttpClientConnection() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Http::HttpClientConnection::HttpClientConnection </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html">HttpClientConnection</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a171692c127a7fddec5e525c95a9e1a77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a171692c127a7fddec5e525c95a9e1a77">&#9670;&nbsp;</a></span>HttpClientConnection() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Aws::Crt::Http::HttpClientConnection::HttpClientConnection </td>
          <td>(</td>
          <td class="paramtype">aws_http_connection *&#160;</td>
          <td class="paramname"><em>m_connection</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td>
          <td class="paramname"><em>allocator</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a2099619e869a3bc6365f27fe1ce44f20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2099619e869a3bc6365f27fe1ce44f20">&#9670;&nbsp;</a></span>Close()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Aws::Crt::Http::HttpClientConnection::Close </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Initiate a shutdown of the connection. Sometimes, connections are persistent and you want to close them before shutting down your application or whatever is consuming this interface.</p>
<p>Assuming <code>OnConnectionShutdown</code> has not already been invoked, it will be invoked as a result of this call. </p>

</div>
</div>
<a id="a0d552f646074ba83b71a6cb45aba4b55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d552f646074ba83b71a6cb45aba4b55">&#9670;&nbsp;</a></span>CreateConnection()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::Http::HttpClientConnection::CreateConnection </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnectionOptions.html">HttpClientConnectionOptions</a> &amp;&#160;</td>
          <td class="paramname"><em>connectionOptions</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td>
          <td class="paramname"><em>allocator</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Create a new Https Connection to hostName:port, using <code>socketOptions</code> for tcp options and <code>tlsConnOptions</code> for TLS/SSL options. If <code>tlsConnOptions</code> is null http (plain-text) will be used.</p>
<p>returns true on success, and false on failure. If false is returned, <code>onConnectionSetup</code> will not be invoked. On success, <code>onConnectionSetup</code> will be called, either with a connection, or an errorCode. </p>

</div>
</div>
<a id="a0d308ec92dafcf1b6c190681a93d0e82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d308ec92dafcf1b6c190681a93d0e82">&#9670;&nbsp;</a></span>GetVersion()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceAws_1_1Crt_1_1Http.html#afba23b4ec95a8d1b95d18b2ffe5d82e5">HttpVersion</a> Aws::Crt::Http::HttpClientConnection::GetVersion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>protocol version the connection used </dd></dl>

</div>
</div>
<a id="aea2f037c2daa716775eeb1958da8933d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea2f037c2daa716775eeb1958da8933d">&#9670;&nbsp;</a></span>IsOpen()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Aws::Crt::Http::HttpClientConnection::IsOpen </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true unless the connection is closed or closing. </dd></dl>

</div>
</div>
<a id="ac166bbffac8fbafcc40d29cadedd9318"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac166bbffac8fbafcc40d29cadedd9318">&#9670;&nbsp;</a></span>LastError()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Aws::Crt::Http::HttpClientConnection::LastError </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the value of the last aws error encountered by operations on this instance. </dd></dl>

</div>
</div>
<a id="a872224827a5001b9f5dee1b22c060248"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a872224827a5001b9f5dee1b22c060248">&#9670;&nbsp;</a></span>NewClientStream()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt; <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientStream.html">HttpClientStream</a> &gt; Aws::Crt::Http::HttpClientConnection::NewClientStream </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structAws_1_1Crt_1_1Http_1_1HttpRequestOptions.html">HttpRequestOptions</a> &amp;&#160;</td>
          <td class="paramname"><em>requestOptions</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Make a new client initiated request on this connection.</p>
<p>If you take a reference to the return value, the memory and resources for the connection and stream will not be cleaned up until you release it. You can however, release the reference as soon as you don't need it anymore. The internal reference count ensures the resources will not be freed until the stream is completed.</p>
<p>Returns an instance of <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpStream.html">HttpStream</a> upon success and nullptr on failure.</p>
<p>You must call <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientStream.html#a568f4515d98d63d321a73bbdf9567750">HttpClientStream::Activate()</a> to begin outgoing processing of the stream. </p>

</div>
</div>
<a id="ad55879d84cbac68c458b969f4f91cece"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad55879d84cbac68c458b969f4f91cece">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html">HttpClientConnection</a>&amp; Aws::Crt::Http::HttpClientConnection::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html">HttpClientConnection</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0453c9643d8f286f4493109c0715d3e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0453c9643d8f286f4493109c0715d3e3">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html">HttpClientConnection</a>&amp; Aws::Crt::Http::HttpClientConnection::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAws_1_1Crt_1_1Http_1_1HttpClientConnection.html">HttpClientConnection</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a84a4b9d5ec439a84fcac7c4b94efffdf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84a4b9d5ec439a84fcac7c4b94efffdf">&#9670;&nbsp;</a></span>m_connection</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aws_http_connection* Aws::Crt::Http::HttpClientConnection::m_connection</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/include/aws/crt/http/<a class="el" href="HttpConnection_8h_source.html">HttpConnection.h</a></li>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/source/http/<a class="el" href="HttpConnection_8cpp.html">HttpConnection.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
